﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Collections;

namespace 智能赋予高程值
{
    /// <summary> 
    /// 比较两个点的高程，高程值大的排在前面
    /// </summary> 
    public class myMaxSortClass : IComparer
    {
        int IComparer.Compare(object x, object y)
        {
            double[] point1 = (double[])x;
            double[] point2 = (double[])y;
            return ((new CaseInsensitiveComparer()).Compare(point2[2], point1[2]));
        }
    }
}
